import request from '@/utils/request'
import apis from './'

export function getVoiceKaola (parameter) {
  return request({
    url: apis.VoiceKaola,
    method: 'get',
    params: parameter
  })
}

export function getVoiceNanfang (parameter) {
  return request({
    url: apis.VoiceNanfang,
    method: 'get',
    params: parameter
  })
}

export function getCallList (parameter) {
  return request({
    url: apis.AllCall,
    method: 'get',
    params: parameter
  })
}

export function getGoodList (parameter) {
  return request({
    url: apis.GoodCall,
    method: 'get',
    params: parameter
  })
}

export function getQuestionList (parameter) {
  return request({
    url: apis.QuestionCall,
    method: 'get',
    params: parameter
  })
}

export function getIsRead (id) {
  return request({
    url: `${apis.SetRead}?eid=${id}`,
    method: 'get'
  })
}
